/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: ManagementDAOImpl.java
 * @PageName		: 경영 DAO 구현 
 * @Date			: 2013. 4. 12.오후 5:08:22
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.management.dao.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.management.dao.ManagementDAO;
import com.pulp.management.model.ManagementInfo;

/**
 * @author 최경민
 *
 */
public class ManagementDAOImpl extends SqlMapClientDaoSupport implements ManagementDAO {

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossMachineYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossMachineYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossMachineYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossMachineMonth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossMachineMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossMachineMonth", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossMachineDate()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossMachineDate() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossMachineDate", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossTeamYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossTeamYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossTeamYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossTeamMnth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossTeamMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossTeamMonth", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossTeamDate()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossTeamDate() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossTeamDate", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossDivisionYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossDivisionYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossDivisionYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossDivisionMonth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossDivisionMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossDivisionMonth", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getProfitAndLossDivisionDate()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getProfitAndLossDivisionDate() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.ProfitAndLossDivisionDate", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getBSStatusYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getBSStatusYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSStatusYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getBSStatusMonth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getBSStatusMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSStatusMonth", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getBSDetailYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getBSDetailYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSDetailYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getBSDetailMonth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getBSDetailMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSDetailMonth", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getPrimeCostYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getPrimeCostYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.PrimeCostYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getPrimeCostMonth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getPrimeCostMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.PrimeCostMonth", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getPrimeCostFactoryCostYear()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getPrimeCostFactoryCostYear() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.PrimeCostFactoryCostYear", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.ManagementDAO#getPrimeCostFactoryCostMonth()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<ManagementInfo> getPrimeCostFactoryCostMonth() {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.PrimeCostFactoryCostMonth", mapArgs);
	}

}
